package com.atiguigu.cloud.service.impl;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.atiguigu.cloud.service.FlowLimitService;
import org.springframework.stereotype.Service;

/**
 * @author yuanx
 * @date 2024/4/10 23:18
 */
@Service
public class FlowLimitServiceImpl implements FlowLimitService {
    @Override
    @SentinelResource(value = "common")
    public void common() {
        System.out.println("------FlowLimitService come in");
    }
}
